﻿@*
    For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
}
@using HrEFCore
@model SS
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-trasitional.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <script src="~/aa/vue/dist/vue.js"></script>
    <script src="~/aa/element-ui/lib/index.js"></script>
    <link href="~/aa/element-ui/lib/theme-chalk/index.css" rel="stylesheet" />
    <script src="~/aa/axios/dist/axios.js"></script>
	<link rel="stylesheet" href="../../css/table.css" type="text/css">
	<link rel="stylesheet" type="text/css" media="all"
		  href="../../javascript/calendar/calendar-win2k-cold-1.css">
	<script type="text/javascript" src="../../javascript/calendar/cal.js"></script>
	<script type="text/javascript" src="../../javascript/comm/comm.js"></script>
	<script type="text/javascript" src="../../javascript/comm/list.js"></script>
	<script type="text/javascript" src="../../javascript/jquery-1.7.2.js"></script>
	<script type="text/javascript" src="../../javascript/calendar-ch.js"></script>
	<script type="text/javascript" src="../../javascript/comm/time.js"></script>
	<link rel="stylesheet" href="../../css/cwcalendar.css" type="text/css"></link>

	<title>无标题文档</title>
	<style type="text/css">
		body {
			background: rgb(253,244,227);
		}

		.TD_STYLE1 {
			background: #E6DDCE;
			/* color:white; */
		}

		.TD_STYLE2 {
			background: rgb(253,244,227);
		}

		.INPUT_STYLE2 {
			background: rgb(253,244,227);
		}
	</style>
</head>

<body>
	<div id="SSWhere">
		<form method="post" action="/SS/SSWhereCX">
			@* /SS/SSWhereCX *@
		<input type="hidden" name="page.startPage" value="0">
		<table width="100%">
			<tr>
				<td>
					<font color="black">您正在做的业务是:人力资源管理--薪酬标准管理--薪酬标准查询</font>
				</td>
			</tr>
			<tr>
				<td>
					<div align="right">
						<input type="submit" value="查询"  class="BUTTON_STYLE1" />
					</div>
				</td>
			</tr>
		</table>
		<table width="100%" border="1" cellpadding=0 cellspacing=1
			   bordercolorlight=#848284 bordercolordark=#eeeeee
			   class="TABLE_STYLE2">
			<tr>
				<td width="20%" class="TD_STYLE1">
					请输入薪酬标准编号@* @Html.LabelFor(e=>e.StandardId) *@
				</td>
				<td class="TD_STYLE2">
					<template>
							<el-select v-model="StandardId" clearable placeholder="请选择" name="StandardId">
							<el-option v-for="item in list"
										   :key="item.standardId"
										   :label="item.standardId"
										   :value="item.standardId">
							</el-option>
						</el-select>
					</template>
					@* @Html.DropDownListFor(e=>e.StandardId, ViewBag.s as IEnumerable<SelectListItem>, new { @class = "form-control" }) *@
					@* <input type="text" name="standard.standardId" value=""
						   class="INPUT_STYLE1"> *@
				</td>
			</tr>
			<tr>
				<td class="TD_STYLE1">
					请输入关键字
				</td>
				<td class="TD_STYLE2">
						@Html.TextBoxFor(e=>e.Designer,new{@class="form-control"})
					@* <input type="text" name="utilbean.primarKey" class="INPUT_STYLE1"> *@
				</td>
			</tr>
			<tr>
				<td class="TD_STYLE1">
					请输入建档时间
				</td>
				<td width="84%" class="TD_STYLE2">
						<el-date-picker v-model="RegistTime"
										name="stateDate"
										type="date"
										placeholder="开始日期">
						</el-date-picker>
						至
						<el-date-picker v-model="RegistTime2"
										name="endDate"
										type="date"
										placeholder="结束日期">
						</el-date-picker>
						@* <el-date-picker v-model="RegistTime"
										type="daterange"
										name="RegistTime"
										range-separator="至"
										start-placeholder="开始日期"
										end-placeholder="结束日期">
						</el-date-picker> *@
						
					@* <input name="utilbean.startDate" onclick="aa('utilbean.startDate')" type="text" class="INPUT_STYLE2" id="date_start" style="width:24% " value="" size="30">
					至 <input type="text" name="utilbean.endDate" onclick="aa('utilbean.endDate')" value="" style="width:24% " class="INPUT_STYLE2" id="date_end">
					（YYYY-MM-DD） *@
				</td>
			</tr>
		</table>
	</form>
	</div>
	<script type="text/javascript">
		var vm = new Vue({
			el:"#SSWhere",
			data: {
				list:[],
				list2:[],
				StandardId:"",
				RegistTime: "",
				RegistTime2: "",
			},
			methods: {
				//下拉列表
				xl:function(){
					axios.get("/SS/SSWhereXL").then(res => {
						this.list = res.data;
						// console.log(res.data);
					}).catch(err => {
						console.log(err);
					});
				},
				yz: function () {
					alert(this.StandardId);
					alert(this.RegistTime);
				},
			},
			mounted: function () {
				this.xl();
			}
		});

	</script>
</body>

</html>
